home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6547 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: hell.team17.com!news
  2. From: boberg@team17.com (Stefan Boberg)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: AB3D II beats Quake....
  5. Date: Fri, 29 Mar 1996 19:53:04 GMT
  6. Organization: Team 17 Software Ltd.
  7. Message-ID: <4jhf45$25i@hell.team17.com>
  8. References: <31535e7f.44220455@news.hol.gr> <Dp10Ip.6GL@csc.liv.ac.uk> <4jh4nv$fhf@macondo.dmu.ac.uk>
  9. NNTP-Posting-Host: zonk.team17.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. babbage@dmu.ac.uk (Babbage) wrote:
  13.  
  14. >> The future generation of CPUs will be so complex that no Assembler
  15. >> programmer could ever hope to create code as efficient as a compiler.
  16. >> It would simply not be possible!
  17.  
  18. >oh dear =:)
  19.  
  20.   What's wrong?
  21.  
  22.   Yeah, yeah, yeah. I know. Given that (s)he knows everything about
  23. the workings of the CPU, a human will always be able to generate
  24. better code than a compiler. BUT: Would you really like to sit there
  25. and annotate 100,000 lines of unreadable code with pipelining
  26. information (which takes bloody ages), when you could leave this to
  27. the compiler?? Especially if the overall performance gain is so
  28. negligible that the average CPU speed increased more during the period
  29. you spent optimizing your code?
  30.  
  31.   No. Leave everything in C/C++, and save the ASM coding for where you
  32. really need it (i.e. only for parts that execute more than 20% or so
  33. of the total execution time). The compiler WILL do a better job of it.
  34. Or even better, improve the algorithms instead.
  35.  
  36. >babbage!
  37.  
  38.  
  39. ===============================================================
  40.  Stefan Boberg                               boberg@team17.com
  41.   "This, like, sucks in ways that we've never seen stuff suck
  42.     before, so it's kinda cool!" - B&B
  43.  
  44.